const cloud = require('wx-server-sdk')
cloud.init({
    env: cloud.DYNAMIC_CURRENT_ENV
})
db = cloud.database()
exports.main = async(event,context) => {
    console.log('register',event)
}